Type.registerNamespace('APH.SC.Web.Predictive'); APH.SC.Web.Predictive.Predictive=function() { APH.SC.Web.Predictive.Predictive.initializeBase(this); this._timeout = 0; this._userContext = null; this._succeeded = null; this._failed = null; } APH.SC.Web.Predictive.Predictive.prototype={ _get_path:function() { var p = this.get_path(); if (p) return p; else return APH.SC.Web.Predictive.Predictive._staticInstance.get_path();}, HelloWorld:function(succeededCallback, failedCallback, userContext) { /// /// /// return this._invoke(this._get_path(), 'HelloWorld',false,{},succeededCallback,failedCallback,userContext); }, GetCompletionList:function(prefixText,count,succeededCallback, failedCallback, userContext) { /// System.String /// System.Int32 /// /// /// return this._invoke(this._get_path(), 'GetCompletionList',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); }, GetHansardKeyword:function(prefixText,count,succeededCallback, failedCallback, userContext) { /// System.String /// System.Int32 /// /// /// return this._invoke(this._get_path(), 'GetHansardKeyword',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); }, GetSectionKeyword:function(prefixText,count,contextKey,succeededCallback, failedCallback, userContext) { /// System.String /// System.Int32 /// System.String /// /// /// return this._invoke(this._get_path(), 'GetSectionKeyword',false,{prefixText:prefixText,count:count,contextKey:contextKey},succeededCallback,failedCallback,userContext); }} APH.SC.Web.Predictive.Predictive.registerClass('APH.SC.Web.Predictive.Predictive',Sys.Net.WebServiceProxy); APH.SC.Web.Predictive.Predictive._staticInstance = new APH.SC.Web.Predictive.Predictive(); APH.SC.Web.Predictive.Predictive.set_path = function(value) { APH.SC.Web.Predictive.Predictive._staticInstance.set_path(value); } APH.SC.Web.Predictive.Predictive.get_path = function() { /// The service url. return APH.SC.Web.Predictive.Predictive._staticInstance.get_path();} APH.SC.Web.Predictive.Predictive.set_timeout = function(value) { APH.SC.Web.Predictive.Predictive._staticInstance.set_timeout(value); } APH.SC.Web.Predictive.Predictive.get_timeout = function() { /// The service timeout. return APH.SC.Web.Predictive.Predictive._staticInstance.get_timeout(); } APH.SC.Web.Predictive.Predictive.set_defaultUserContext = function(value) { APH.SC.Web.Predictive.Predictive._staticInstance.set_defaultUserContext(value); } APH.SC.Web.Predictive.Predictive.get_defaultUserContext = function() { /// The service default user context. return APH.SC.Web.Predictive.Predictive._staticInstance.get_defaultUserContext(); } APH.SC.Web.Predictive.Predictive.set_defaultSucceededCallback = function(value) { APH.SC.Web.Predictive.Predictive._staticInstance.set_defaultSucceededCallback(value); } APH.SC.Web.Predictive.Predictive.get_defaultSucceededCallback = function() { /// The service default succeeded callback. return APH.SC.Web.Predictive.Predictive._staticInstance.get_defaultSucceededCallback(); } APH.SC.Web.Predictive.Predictive.set_defaultFailedCallback = function(value) { APH.SC.Web.Predictive.Predictive._staticInstance.set_defaultFailedCallback(value); } APH.SC.Web.Predictive.Predictive.get_defaultFailedCallback = function() { /// The service default failed callback. return APH.SC.Web.Predictive.Predictive._staticInstance.get_defaultFailedCallback(); } APH.SC.Web.Predictive.Predictive.set_enableJsonp = function(value) { APH.SC.Web.Predictive.Predictive._staticInstance.set_enableJsonp(value); } APH.SC.Web.Predictive.Predictive.get_enableJsonp = function() { /// Specifies whether the service supports JSONP for cross domain calling. return APH.SC.Web.Predictive.Predictive._staticInstance.get_enableJsonp(); } APH.SC.Web.Predictive.Predictive.set_jsonpCallbackParameter = function(value) { APH.SC.Web.Predictive.Predictive._staticInstance.set_jsonpCallbackParameter(value); } APH.SC.Web.Predictive.Predictive.get_jsonpCallbackParameter = function() { /// Specifies the parameter name that contains the callback function name for a JSONP request. return APH.SC.Web.Predictive.Predictive._staticInstance.get_jsonpCallbackParameter(); } APH.SC.Web.Predictive.Predictive.set_path("/predictive/predictive.asmx"); APH.SC.Web.Predictive.Predictive.HelloWorld= function(onSuccess,onFailed,userContext) { /// /// /// APH.SC.Web.Predictive.Predictive._staticInstance.HelloWorld(onSuccess,onFailed,userContext); } APH.SC.Web.Predictive.Predictive.GetCompletionList= function(prefixText,count,onSuccess,onFailed,userContext) { /// System.String /// System.Int32 /// /// /// APH.SC.Web.Predictive.Predictive._staticInstance.GetCompletionList(prefixText,count,onSuccess,onFailed,userContext); } APH.SC.Web.Predictive.Predictive.GetHansardKeyword= function(prefixText,count,onSuccess,onFailed,userContext) { /// System.String /// System.Int32 /// /// /// APH.SC.Web.Predictive.Predictive._staticInstance.GetHansardKeyword(prefixText,count,onSuccess,onFailed,userContext); } APH.SC.Web.Predictive.Predictive.GetSectionKeyword= function(prefixText,count,contextKey,onSuccess,onFailed,userContext) { /// System.String /// System.Int32 /// System.String /// /// /// APH.SC.Web.Predictive.Predictive._staticInstance.GetSectionKeyword(prefixText,count,contextKey,onSuccess,onFailed,userContext); }